/* 几何背景元素样式 */

/* 背景几何图形容器 */
.bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 1;
}

/* 基础形状样式 */
.shape {
    position: absolute;
    opacity: 0.08;
}

/* 圆形元素 */
.shape.circle {
    border-radius: 50%;
    background: linear-gradient(135deg, #00b4a0, #2d7f7f);
}

/* 方形元素 */
.shape.square {
    background: linear-gradient(135deg, #0066cc, #004499);
    transform: rotate(45deg);
}

/* 加号元素 */
.shape.plus {
    color: #00b4a0;
    font-size: 80px;
    font-weight: 300;
    line-height: 1;
}

/* DNA元素 */
.shape.dna {
    width: 80px;
    height: 120px;
    border: 3px solid #0066cc;
    border-radius: 40px;
    position: relative;
}

.shape.dna::before,
.shape.dna::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #0066cc;
    border-radius: 50%;
}

.shape.dna::before {
    left: 10px;
    top: 25%;
}

.shape.dna::after {
    right: 10px;
    bottom: 25%;
}

/* 预定义的背景元素位置和大小 */
.bg-element-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
}

.bg-element-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 8%;
}

.bg-element-3 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 10%;
}

.bg-element-4 {
    top: 20%;
    right: 15%;
}

.bg-element-5 {
    top: 40%;
    left: 8%;
}

.bg-element-6 {
    width: 80px;
    height: 80px;
    top: 5%;
    right: 20%;
}

.bg-element-7 {
    width: 100px;
    height: 100px;
    bottom: 25%;
    right: 5%;
}

/* 响应式设计 - 在小屏幕上调整背景元素 */
@media (max-width: 768px) {
    .bg-element-1 {
        width: 150px;
        height: 150px;
    }
    
    .bg-element-2 {
        width: 120px;
        height: 120px;
    }
    
    .bg-element-3 {
        width: 80px;
        height: 80px;
    }
    
    .bg-element-6 {
        width: 60px;
        height: 60px;
    }
    
    .bg-element-7 {
        width: 80px;
        height: 80px;
    }
    
    .shape.plus {
        font-size: 60px;
    }
    
    .shape.dna {
        width: 60px;
        height: 90px;
    }
}

@media (max-width: 480px) {
    .bg-element-1 {
        width: 120px;
        height: 120px;
    }
    
    .bg-element-2 {
        width: 100px;
        height: 100px;
    }
    
    .bg-element-3 {
        width: 60px;
        height: 60px;
    }
    
    .bg-element-6 {
        width: 50px;
        height: 50px;
    }
    
    .bg-element-7 {
        width: 60px;
        height: 60px;
    }
    
    .shape.plus {
        font-size: 50px;
    }
    
    .shape.dna {
        width: 50px;
        height: 75px;
    }
}
